package com.xmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmall.product.define.dict.AttrOptionTypeEnum;
import com.xmall.product.entity.AttrOption;

import java.util.List;

/**
 *  服务类
 */
public interface IAttrOptionService extends IService<AttrOption> {

    void save(Long attrId, AttrOptionTypeEnum type, List<String> optionList);

    void removeByAttrId(Long attrId, AttrOptionTypeEnum type);

    void removeByGroupId(Long groupId);
}
